﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace consoleTesting
{
    public class Gap
    {
        public DateTime GapDate { get; set; }
        public Decimal GapWidth { get; set; }
        public Decimal PriceBeforeOpen { get; set; }
        public Decimal PriceAfterOpen { get; set; }
        public Decimal PullbackPoints { get; set; }
        
        public DateTime GapCloseDate { get; set; }
        public int GapDurationBeforeCloseWeeks { get; set; }
        public int GapWeekNumber { get; set; }//number of week for loop, only for calculating
        public Direction GapTo { get; set; }


        public Decimal WeeklyCloseFromOpenWidth { get; set; }
        public Direction WeeklyCloseDirection { get; set; }
        public Decimal WeeklyMaxInCloseDirection { get; set; } // has sense only for gaps closed > 0 weeks

        public DayOfWeek DayGapClosed { get; set; }

        public Decimal TuesdayCloseAllGaps { get; set; }
        public Decimal TuesdayMaxPullback { get; set; }
        public Decimal MaxPullbackFor0WeekClose { get; set; }

        public Decimal ProtectiveStopOutForMore0WeekClose { get; set; }

        //public bool IsAfterTestPointsPullbackPricesReturnedToOpenGapPrice { get; set; }
        //public bool IsSameHourlyCandlePullback50AndGapCloseOccured { get; set; }
        //public Decimal MaxPullbackForPullbackToTestAndGapCloseCandle { get; set; }
        
        //public Decimal PriceOfShadowToGap { get; set; }
        //public Decimal GapToShadowWidth { get; set; }
        //public Decimal GapToShadowPullbackPoints { get; set; }
        //public DateTime GapToShadowGapCloseDate { get; set; }

    }

    
}
